package cn.com.thingo.shyintelligent.model.bean;

import java.util.List;

public class GatewayListBean {

    /**
     * code : 0
     * msg :
     * count : 0
     * data : [{"id":9,"title":"123","number":"100b0000106a","username":"admin","password":"admin","creator":10,"userId":"10","description":"","createTime":1551682316000,"updateTime":"","status":true,"users":""},{"id":8,"title":"106A","number":"100B0000106A","username":"admin","password":"admin","creator":11,"userId":"11","description":"","createTime":1551682264000,"updateTime":"","status":false,"users":""}]
     */

    private int code;
    private String msg;
    private int count;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 9
         * title : 123
         * number : 100b0000106a
         * username : admin
         * password : admin
         * creator : 10
         * userId : 10
         * description :
         * createTime : 1551682316000
         * updateTime :
         * status : true
         * users :
         */

        private int id;
        private String title;
        private String number;
        private String username;
        private String password;
        private int creator;
        private String userId;
        private String description;
        private long createTime;
        private String updateTime;
        private boolean status;
        private String users;
        private boolean isSelect = false;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getCreator() {
            return creator;
        }

        public void setCreator(int creator) {
            this.creator = creator;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isStatus() {
            return status;
        }

        public void setStatus(boolean status) {
            this.status = status;
        }

        public String getUsers() {
            return users;
        }

        public void setUsers(String users) {
            this.users = users;
        }
    }
}
